package com.gitee.qdbp.general.common.api.oplog.service;

import java.util.List;
import com.gitee.qdbp.able.exception.ServiceException;
import com.gitee.qdbp.base.system.model.IAccount;
import com.gitee.qdbp.general.common.api.oplog.model.OperateRecordBean;
import com.gitee.qdbp.general.common.enums.LogProcessState;

/**
 * 操作记录业务接口
 *
 * @author zhh
 * @version 170522
 */
public interface IOperateRecordExecutor {

    void create(OperateRecordBean model) throws ServiceException;

    void delete(String id) throws ServiceException;

    void delete(List<String> ids) throws ServiceException;

    /** 标记处理状态 **/
    void mark(List<String> ids, LogProcessState state, String desc, IAccount me) throws ServiceException;

}
